package org.jsola.hr.query;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.query.BaseQuery;

import javax.validation.constraints.NotNull;

import static org.jsola.hr.example.SalaryBasicExample.E_EMP_ID;
import static org.jsola.hr.example.SalaryBasicExample.N_EMP_ID;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PunchRecordQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    /** 日期;yyyy-MM-dd */
    @ApiParam(value = "日期;yyyy-MM-dd", example = "")
    @NotNull(message = "日期不能为空")
    private String dateYmd;

}
